import axios from 'axios';
import React, { useEffect } from 'react';
export default function Center(props) {
    useEffect(() => {
        axios.get('api/mmdb/movie/v3/list/hot.json?ct=佛山&ci=92&channelId=4').then(res => {
            console.log(res)
        })
    }, []);
    return (
        <div onClick={() => {
            props.history.push('/files')
            console.log(props)
        }}>center</div>
    )
}
